package com.dq.controller.in.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuhui
 * @date 2019/10/11 0011 14:39:09
 */
@Data
@ApiModel("商品")
public class GoodsAdd {
    @ApiModelProperty("商品名称")
    protected String name;
    @ApiModelProperty("商品副标题")
    protected String viceName;
    @ApiModelProperty("商品封面url")
    protected String goodsImgUrl;
    @ApiModelProperty("分类id")
    protected Long cateId;
    @ApiModelProperty("商品价格")
    protected String goodsPrice;
    @ApiModelProperty("商品分润，单位：元")
    protected String goodsProfit;
    @ApiModelProperty("商品轮播图，多个图片url用|特殊符号号隔开")
    protected String bannerUrl;
    @ApiModelProperty("商品详情图片url，多个图片url用|特殊符号号隔开")
    protected String descriptionImgs;
    @ApiModelProperty("商品库存")
    protected Long goodsNum;
    @ApiModelProperty("是否是vip商品，Long值：1：是、0：不是")
    protected Long isVipGoods;
    @ApiModelProperty("上否上架，Long值：1：上架、0：下架")
    protected Long isUpper;
}
